package com.atguigu.spzx.product.service;

import com.atguigu.spzx.common.exception.GuiguException;
import com.atguigu.spzx.model.dto.h5.UserLoginDto;
import com.atguigu.spzx.model.dto.h5.UserRegisterDto;
import com.atguigu.spzx.model.vo.h5.UserInfoVo;

public interface UserInfoService {
    void register(UserRegisterDto userRegisterDto) throws GuiguException;

    Object login(UserLoginDto userLoginDto) throws GuiguException;

    UserInfoVo getCurrentUserInfo(String token) throws GuiguException;
}
